openstreetmap-tools
===================

OpenStreetMap tools

getsalud.py
---------------
Use:
 - Open http://www.geominsa.minsa.gob.pe/geominsa/
 - Search health centers and export an XLS file
 - Convert the XLS file to a CSV file
 - Run "python getsalud.py foo.csv" in your machine

getschools.py
---------------
Use:
 - Open http://sigmed.minedu.gob.pe/mapaeducativo/
 - Search schools and export an XLS file
 - Convert the XLS file to a CSV file
 - Run "python getschools.py foo.csv" in your machine

namestolower.py
---------------
Use:
 - Open JOSM
 - Go to "File -> Download From OSM..."
 - Select area and download
 - Save data in "File -> Save As...", use "foo.osm" for example
 - Run "python namestolower.py foo.osm" in your machine

similar_nearby_places.c
-----------------------
Compile:
 - gcc similar_nearby_places.c -lexpat -o similar_nearby_places

Use:
 - Download http://download.geofabrik.de/south-america/peru-latest.osm.bz2
 - Uncompress peru-latest.osm.bz2
 - Run "similar_nearby_places peru-latest.osm" in your machine

clustering_subdistricts.c
-----------------------
Compile:
 - g++ clustering_subdistricts.cc -lexpat -o clustering_subdistricts

Use:
 - Download http://download.geofabrik.de/south-america/peru-latest.osm.bz2
 - Uncompress peru-latest.osm.bz2
 - Run "clustering_subdistricts peru-latest.osm" in your machine

